* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
.heart {
  margin: 100px;
}
.heart {
  position: relative;
  display: inline-block;
  animation: heart 0.98s infinite alternate;
}

@keyframes heart {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}
.heart > div {
  width: 50px;
  height: 50px;
  border: 2px solid red;
  background: red;
}

.heart > .left {
  position: absolute;
  bottom: 100%;
  right: 100%;
  transform: rotate(45deg) translate(32px, 0);
  border-radius: 50% 0% 0% 50%;
}
.heart > .right {
  position: absolute;
  bottom: 100%;
  left: 100%;
  transform: rotate(45deg) translate(0, 32px);
  border-radius: 50% 50% 0% 0%;
}
.heart > .bottmn {
  transform: rotate(45deg);
}
